 var content="对分享图片进行一个整理";
 //var picsrc='/images/loader.gif';
 var picsrc = document.getElementById("share_pic").src; // 要分享的图片

// var contentimg=content+img;
 var contentimg = "对分享图片进行一个整理" + picsrc;

   function qq(){
   var _t = encodeURI(content);
   var _url = encodeURI(document.location);
   var _appkey = encodeURI("7c3450bbecd247758089ee8df5cf546c");//你从腾讯获得的appkey
   var _pic = encodeURI(picsrc);//要分享的图片（列如：var _pic='图片url1|图片url2|图片url3....）
   var _site = 'http://www.aceona.com';//你的网站地址
   var _u = 'http://v.t.qq.com/share/share.php?title='+_t+'&url='+_url+'&appkey='+_appkey+'&site='+_site+'&pic='+_pic;
 
   window.open( _u,'转播到腾讯微博', 'width=700, height=680, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, location=yes, resizable=no, status=no' );
  }
   

function kaixin(){
var t=window.open("http://www.kaixin001.com/repaste/share.php?rtitle="+content.substring(0,76)+"&rurl="+location.href+"&rword="+location.href+"&rcontent="+encodeURIComponent(contentimg),"_blank","scrollbars=no,width=600,height=450,left=75,top=20,status=no,resizable=yes"); 
     } 

function souhu()
{
var s=window.screen;
var d=document;
var e=encodeURIComponent;
var r="";
var l="";
var p="";
var t="";
var z="";
var c="utf-8";
var f='http://t.sohu.com/third/post.jsp?';
var u=z||d.location;
var tit=e(t||content);
var p=['&url=',e(u),'&title=',tit,'&content=',c||'gb2312','&pic=',e(p||picsrc)].join('');
function a()
{
if(!window.open([f,p].join(''),'mb',['toolbar=0,status=0,resizable=1,width=660,height=470,left=',(s.width-660)/2,',top=',(s.height-470)/2].join('')))
u.href=[f,p].join('');
 }

if(/Firefox/.test(navigator.userAgent))
setTimeout(a,0);
else a();
}
  /**现在只能支持分享连接，描述图片均没有*/
function renren()
{
   var s=window.screen;
   var d=document;
   var e=encodeURIComponent;

if(/renren\.com/.test(d.location))
   return;
 var f='http://share.renren.com/share/buttonshare?link=',u=d.location,l=content,p=[e(u),'&title=',e(l)].join('');
   function a()
   {var winform=window.open([f,p].join(''),'xnshare',['toolbar=0,status=0,resizable=1,width=626,height=436,left=',(s.width-626)/2,',top=',(s.height-436)/2].join

(''));
   if(!winform)

u.href=[f,p].join('');


    };
if(/Firefox/.test(navigator.userAgent))setTimeout(a,0);
else a();


}

function sina()
{

var s=window.screen;
var d=document;
var e=encodeURIComponent;
try{}catch(e){}


var f='http://v.t.sina.com.cn/share/share.php?',u=d.location.href,p=['url=',e(u),'&title=',e

(content),'&pic=',encodeURIComponent(picsrc),'&appkey=1226626340'].join('');

function a()
{if(!window.open([f,p].join(''),'mb',['toolbar=0,status=0,resizable=1,width=620,height=450,left=',(s.width-
620)/2,',top=',(s.height-450)/2].join('')))u.href=[f,p].join('');
};

if(/Firefox/.test(navigator.userAgent))
{setTimeout(a,0);}else{a();}

}